package com.light.modules.admin.common.interceptor;

import com.jfinal.aop.InterceptorStack;
import com.jfinal.ext.interceptor.SessionInViewInterceptor;

/**
 * @author:zhangdb
 * @date:2017/12/07
 */
public class AdminInterceptorStack extends InterceptorStack {
    @Override
    public void config() {
        addInterceptors(new SessionInViewInterceptor(),new AuthInterceptor(),new ErrorInterceptor());
    }
}
